<script type="text/javascript" src="js/proinfo/borrow/borrowExamine.js"></script>
<!-- 主页-借款管理-添加 -->
<section id="container">

    <section id="main-content">
        <section class="wrapper">

            <div class="row first">
                <div class="col-lg-12">

                    <section class="panel">
                        <header class="panel-heading">
                            <div class="search-box">
                                基本信息
                            </div>
                        </header>
                        <div class="panel-body">
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">借款类型</label>
                                <div class="col-sm-10">
                                    <select class="form-control typesel" ng-model="borrow.borrowingType"
                                        certus-required ng-change="personChange()" disabled>
                                        <option value="{{xx.code}}" ng-repeat="xx in personalSelect">{{xx.name}}</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group customerForm" ng-hide="borrow.personVisible">
                                <label class="col-sm-2 control-label">项目名称</label>
                                <div class="col-sm-10">
                                    <a href="javascript:showProInfo()" style="line-height:34px;">{{borrow.projName}}
                                    </a>
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">借款金额</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" certus-required ng-model="borrow.borrowingAmount"
                                        disabled>
                                </div>
                            </div>
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">申请事由</label>
                                <div class="col-sm-10">
                                    <textarea class="form-control"  maxlength="120"  ng-model="borrow.borrowingOrigin" certus-required
                                        disabled></textarea>
                                </div>
                            </div>
                        </div>
                    </section>

                    <section class="panel">
                        <div class="panel-heading">
                            审批记录
                        </div>
                        <div class="panel-body">
                            <ul class="tp-ulst">
                                <li>
                                    <span>人员姓名 </span><span>修改时间</span><span>处理结果</span>
                                </li>
                                <div ng-repeat="ss in processs">
                                    <li>
                                        <span>{{ss.USER}}</span><span>{{ss.time | date:'yyyy-MM-dd hh:mm'}}</span><span>{{getsssbbb(ss.lastStatus)}}，{{ss.msg}}</span>
                                    </li>
                                </div>
                            </ul>
                        </div>
                    </section>

                    <section class="panel">
                        <header class="panel-heading">审批意见</header>
                        <div class="panel-body">
                            <div class="form-group customerForm">
                                <textarea class="form-control" ng-model="borrowStep.opinionMsg" certus-an-limit-length="120"></textarea>
                            </div>
                        </div>
                    </section>

                    <section class="panel">
                        <div class="panel-body">
                            <p class="default-buttons">
                                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="window.history.back()">返回</a>
                                <a href="javascript:void(0);" class="button-back btn btn-warning btn-l10" ng-click="borrowingDenied()">退回</a>
                                <a href="javascript:void(0);" class="button-next  btn btn-success btn-l10" ng-click="borrowApproval()">同意</a>
                                <a href="javascript:void(0);" class="button-next  btn btn-danger btn-l10" ng-click="shutDown()">不同意</a>
                            </p>
                        </div>
                    </section>

                </div>
            </div>
            <div class="two" ng-include="'lproinfo/lproinfo.html'"></div>
        </section>
    </section>
</section>